package br.com.californiahotel.client.viewControler.locacao;

import br.com.californiahotel.client.architecture.viewController.MaintenanceView;
import br.com.californiahotel.client.viewControler.locacao.DespesaController.Display;

import com.smartgwt.client.widgets.grid.ListGridField;

public class DespesaView extends MaintenanceView implements Display {

	private final Integer idApto;

	public DespesaView(String id) {
		idApto = Integer.parseInt(id);
	}

	@Override
	protected void mountGrid() {
		getGrid().setFields(new ListGridField[] {
				new ListGridField("Despesa", "Despesa"),
				new ListGridField("Valor", "Valor")});

	}

	@Override
	public Integer getIdApto() {
		return idApto;
	}
	
}
